﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassicJukebox
{
    public class Album : NotifyingObject
    {
        public string Name { get; set; }
        public string Artist { get; set; }

        public string Cover { get; set; }

        private List<Track> tracks = new List<Track>();
        public List<Track> Tracks
        {
            get
            {
                return this.tracks;
            }
        }

        private bool isSelected = false;
        public bool IsSelected 
        {
            get 
            {
                return this.isSelected; 
            }
            set
            {
                if (this.isSelected != value)
                {
                    this.isSelected = value;
                    OnPropertyChanged("IsSelected");
                }
            }
        }
    }
}
